import Vue from 'vue'
<template>
  <div class="testvue">
    <h2>{{ message }}</h2>
    <button @click="btnClick">点我</button>
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {
      message: "hello webpack",
      name: "lihanmin",
    };
  },
  methods: {
    btnClick() {
      console.log("test");
    },
  },
};
</script>

<style>
.testvue {
  background: yellow;
  color: aqua;
}
</style>